#include "StringUtility.h"

namespace Engine
{
	unsigned int Hash(const std::string& string)
	{
		unsigned int hash = 2166136261u;

		for(size_t i = 0; i < string.size(); ++i)
		{
			hash ^= string[i];
			hash *= 16777619u;
		}
		 
		return hash;
	}
}